<table border="1">
    <tr>
        <th>
            Isi
        </th>
        <th>
            tipe
        </th>
        <th>
            aksi
        </th>
    </tr>
<?php
    for ($i=0;$i<count($data);$i++)
    {
        echo "<tr>";
        echo "<td>". $data[$i]['ISI_PERTANYAAN'] ."</td>";
        echo "<td>". $data[$i]['TIPE_PERTANYAAN'] ."</td>";
        echo "<td><a href='". base_url() ."admin/poling_con/edit_pertanyaan/". $data[$i]['ID_PERTANYAAN'] ."'>edit</a>|<a href='". base_url() ."admin/poling_con/hapus_pertanyaan/". $data[$i]['ID_PERTANYAAN'] ."'>delete</a></td>";
        echo "</tr>";
    }

?>
</table><br />
<a href="<?php echo base_url() ?>admin/poling_con/tambah_pertanyaan">tambah</a>
